From ce35473930b792f989bb576fd7c42cd7ecafd778 Mon Sep 17 00:00:00 2001 From: Jimi Xenidis Date: Fri, 1 Dec 2006 19:11:02 -0500 Subject: [PATCH] [XEN][POWERPC] should comment the Power Managment workaround in the code as well Signed-off-by: Jimi Xenidis Signed-off-by: Hollis Blanchard --- xen/arch/powerpc/powerpc64/ppc970.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/xen/arch/powerpc/powerpc64/ppc970.c b/xen/arch/powerpc/powerpc64/ppc970.c index 281ce05f39..5adefae616 100644 --- a/xen/arch/powerpc/powerpc64/ppc970.c +++ b/xen/arch/powerpc/powerpc64/ppc970.c @@ -193,8 +193,11 @@ void cpu_initialize(int cpuid) mtdec(timebase_freq); mthdec(timebase_freq); - hid0.bits.nap = 1; /* NAP */ + /* FIXME Do not set the NAP and DPM bits in HID0 until we have had a + * chance to audit the safe halt and idle loop code. */ + hid0.bits.nap = 0; /* NAP */ hid0.bits.dpm = 1; /* Dynamic Power Management */ + hid0.bits.nhr = 1; /* Not Hard Reset */ hid0.bits.hdice_en = 1; /* enable HDEC */ hid0.bits.en_therm = 0; /* ! Enable ext thermal ints */ -- 2.30.2